﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HCM_maps_website.Process.BLL;
using HCM_maps_website.Models;
using System.Web.Http;
using System.Net;
using System.Net.Http;

namespace XichLoMapAPI.Controllers
{
    public class MapController : ApiController
    {
        //
        // GET: /Map/?longtitude=&latitude=
        public string Get(float longtitude, float latitude)
        {
            return "";
        }

        //GET :/Map/keyword
        public SearchResult Get(string keyword)
        {
            return SearchBLL.Search(keyword);
        }

        //GET :/Map
        //Get current coordinate
        public Coordinate Get()
        {
            return null;
        }

        //
    }
}
